﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucStockList.ascx.cs" Inherits="StockCrawler.UserControl.ucStockList" %>

<%@ Register assembly="DevExpress.Web.v14.2, Version=14.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Data.Linq" tagprefix="dx" %>

<dx:ASPxGridView ID="ASPxGridViewStock" runat="server" AutoGenerateColumns="False"  Width="100%" DataSourceID="LinqServerModeDataSourceStock">
    <Columns>
        <dx:GridViewDataTextColumn FieldName="id_stock" VisibleIndex="0"  Visible="False">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="code" VisibleIndex="1" Width ="50" Caption="Mã CK">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="name" VisibleIndex="2" Width="500" Caption="Công ty">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="search" VisibleIndex="3" Width="500" Caption="Công ty">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="id_stockexchange" VisibleIndex="4" Caption="Sàn">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="eps" VisibleIndex="5">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="pe" VisibleIndex="6">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="bv" VisibleIndex="7">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="klcp_niemyet" VisibleIndex="8">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="klcp_luuhanh" VisibleIndex="9">
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataTextColumn FieldName="vcsh" VisibleIndex="10">
        </dx:GridViewDataTextColumn>
    </Columns>
    <SettingsBehavior ColumnResizeMode="NextColumn" />
    <SettingsPager Visible="False" PageSize="20" />
    <Settings VerticalScrollBarMode="Visible" VerticalScrollableHeight="350" VerticalScrollBarStyle="Virtual" />
    <Paddings Padding="0px" />
    <Border BorderWidth="0px" />
    <BorderBottom BorderWidth="1px" />
</dx:ASPxGridView>

    <dx:LinqServerModeDataSource ID="LinqServerModeDataSourceStock" runat="server" ContextTypeName="StockCrawlerLib.StockDataClassesDataContext" TableName="stocks" OnSelecting="LinqServerModeDataSourceStock_Selecting">
    </dx:LinqServerModeDataSource>
